package com.bootdo.hjh.dao;

import com.bootdo.hjh.domain.CashPointsDO;
import com.bootdo.hjh.domain.CashPointsDOExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;
@Mapper
public interface CashPointsDOMapper {
    int countByExample(CashPointsDOExample example);

    int deleteByExample(CashPointsDOExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CashPointsDO record);

    int insertSelective(CashPointsDO record);

    List<CashPointsDO> selectByExampleWithRowbounds(CashPointsDOExample example, RowBounds rowBounds);

    List<CashPointsDO> selectByExample(CashPointsDOExample example);

    CashPointsDO selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CashPointsDO record, @Param("example") CashPointsDOExample example);

    int updateByExample(@Param("record") CashPointsDO record, @Param("example") CashPointsDOExample example);

    int updateByPrimaryKeySelective(CashPointsDO record);

    int updateByPrimaryKey(CashPointsDO record);

    Long sumByExample(CashPointsDOExample example);

    void batchInsert(@Param("items") List<CashPointsDO> items);
}